package com.cskaoyan.service.system;

import com.cskaoyan.bean.bo.system.ObjListBo;
import com.cskaoyan.bean.vo.system.ObjCreateVo;
import com.cskaoyan.bean.vo.system.ObjListVo;
import com.cskaoyan.bean.vo.system.ObjUpdateVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;

/**
 * @program: market
 * @description: 对象存储服务
 * @author: zhong
 * @create: 2022-07-17 18:15
 **/
public interface StorageService {
    ObjListVo getObjListOp(ObjListBo pageReg);

    ObjCreateVo addObjOp(MultipartFile file) throws IOException, ParseException;

    int delObjOp(int objId);

    ObjUpdateVo changeNameOp(String newName, int objId);
}
